﻿using System;
using System.Collections.Generic;
using ExpenseSystem.Common.BaseModel;

namespace ExpenseSystem.Model
{
    [TableName("BAS_CODEGENERATOR")]
    public class CodeGeneratorModel:NormalModel
    {
        public string Code { get; set; }
        public string Var1 { get; set; }
        public string Var2 { get; set; }
        public string Var3 { get; set; }
        public string DateFormat { get; set; }
        public int SeqLength { get; set; }
        private int _seq;
        public int Seq { get { return _seq; } set { _seq = value;if(!PropertyUpdated.Contains("Seq")) PropertyUpdated.Add("Seq"); } }
    }
}
